package com.edushare.common.standalonetests;

import java.sql.Timestamp;

import org.apache.cayenne.access.DataContext;

import com.edushare.common.vo.Universities;

public class InsertUniversity {

	public static void main(String[] args) {
		DataContext ctx = DataContext.createDataContext();
		Universities u = (Universities)ctx.newObject(Universities.class);
		u.setUniversityName("sep17:1028 University");
		u.setCreationTimestamp(new Timestamp(System.currentTimeMillis()));
		u.setUniversityDesc("Desc...");
		ctx.commitChanges();
		
	}

}
